#ifndef _MAIN_H
#define _MAIN_H

extern unsigned char code SMG_duanma[12];
extern unsigned char flag_adc_dispaly;
extern unsigned char last_dist, sum_dist;
extern unsigned char button_dist, button_para, button_dist_back;
extern unsigned char para;
extern unsigned char dist_back_num;
extern unsigned char previous_dist;

void Select_Mode(unsigned char position);
void LED_ON(unsigned char position);
void LED_OFF(unsigned char position);

#endif
